package cz.edukomplex.kosilka.client.content.harmonogram;



public class HarmonogramCellListRow implements Comparable<HarmonogramCellListRow> {
	
	public String hid;
	public String harmonogramName;
	public String cid;
	public String commissionName;
	public String idStudyField;
	public String studyFieldName;	
	public String date;
	
	public HarmonogramCellListRow(){}	
	
	public HarmonogramCellListRow(String hid, String harmonogramName,
			String cid, String commissionName, String idStudyField,
			String studyFieldName, String date) {
		this.hid = hid;
		this.harmonogramName = harmonogramName;
		this.cid = cid;
		this.commissionName = commissionName;
		this.idStudyField = idStudyField;
		this.studyFieldName = studyFieldName;
		this.date = date;
	}

	public String getStudyFieldName() {
		return studyFieldName;
	}


	public void setStudyFieldName(String studyFieldName) {
		this.studyFieldName = studyFieldName;
	}

	public String getHid() {
		return hid;
	}

	public void setHid(String hid) {
		this.hid = hid;
	}

	public String getHarmonogramName() {
		return harmonogramName;
	}

	public void setHarmonogramName(String harmonogramName) {
		this.harmonogramName = harmonogramName;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}



	public String getCommissionName() {
		return commissionName;
	}



	public void setCommissionName(String commissionName) {
		this.commissionName = commissionName;
	}



	public String getIdStudyField() {
		return idStudyField;
	}



	public void setIdStudyField(String idStudyField) {
		this.idStudyField = idStudyField;
	}


	public String getDate() {
		return date;
	}



	public void setDate(String date) {
		this.date = date;
	}



	@Override
	public int compareTo(HarmonogramCellListRow o) {
		return this.harmonogramName.compareToIgnoreCase(o.harmonogramName);
	} 
	
	@Override
	public String toString() {
		return "HarmonogramCellListRow [hid=" + hid + ", harmonogramName="
				+ harmonogramName + ", cid=" + cid + ", commissionName="
				+ commissionName + ", idStudyField=" + idStudyField
				+ ", date=" + date + "]";
	}
}
